package com.sstir.doctor.common;

import lombok.AllArgsConstructor;

/**
 * <p>
 *     文献类型
 * </p>
 *
 * @author: fli
 * @email: fli@sstir.cn
 * @date: 2021/1/15 11:41
 */
@AllArgsConstructor
public enum DocType implements IEnum<String,String> {
    /**
     * 机构
     */
    ORG("1","机构"),
    /**
     * 基金
     */
    FUND("2","基金"),
    /**
     * 疾病分类
     */
    CATEGORY("3","疾病分类"),
    /**
     * 论文
     */
    PAPER("4","论文"),
    /**
     * 统计信息
     */
    STAT("5","统计信息"),
    /**
     * 专利
     */
    PATENT("6","专利"),
    ;


    private String type;
    private String desc;

    @Override
    public String getValue() {
        return type;
    }

    @Override
    public String getText() {
        return desc;
    }
}
